package com.bdmc.report.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bdmc.common.core.domain.BaseSingleEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

;

/**
 * 怠速时长以及油耗对象 report_car_stop
 *
 * @author bdmc
 * @date 2022-08-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("report_car_stop")
public class ReportCarOilCost extends BaseSingleEntity {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "stop_id")
    private Long stopId;
    /**
     * 人员id
     */
    private Long personId;
    /**
     * 车辆id
     */
    private Long carId;
    /**
     * 围栏id
     */
    private Long fenceId;
    /**
     * 数据日期
     */
    private LocalDate dataTime;
    /**
     * 开始时间
     */
    private LocalDateTime startTime;
    /**
     * 结束时间
     */
    private LocalDateTime endTime;
    /**
     * 怠速时长
     */
    private LocalDateTime stopTime;
    /**
     * 起始油量
     */
    private BigDecimal startOil;
    /**
     * 结束油量
     */
    private BigDecimal endOil;
    /**
     * 油量消耗
     */
    private BigDecimal oilCost;
    /**
     * 纬度
     */
    private String lat;
    /**
     * 经度
     */
    private String lng;
    /**
     * 停留地址
     */
    private String address;

}
